<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>豆瓣鹅组小组</title>
    <style type="text/css">
		.logo{
			fill: currentColor;
			vertical-align: -0.15em;
			overflow: hidden;
			width: 1em;
			height: 1em;
		}
    </style>
    
</head>
<body>
	<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="126" height="86" style="display: none; position: absolute; left: -999em; top: -999em;">
		<symbol id="logo" viewBox="0 0 126 86">
			<ellipse cx="0" cy="50" rx="15" ry="40" style="transform: rotate(-45deg);" 
			fill="#ff8b04" 
			data-active-color="#fcc07a" /> 
			<ellipse cx="90" cy="-40" rx="15" ry="40" style="transform: rotate(45deg);" 
			fill="#ff8b04" 
			data-active-color="#fcc07a" /> 
			<ellipse cx="-14" cy="56" rx="15" ry="32" style="transform: rotate(-55deg);" 
			fill="#fd9e32" 
			data-active-color="#fcc07a" /> 
			<ellipse cx="88" cy="-48" rx="15" ry="32" style="transform: rotate(55deg);" 
			fill="#fd9e32" 
			data-active-color="#fcc07a" /> 
			<ellipse cx="-38" cy="50" rx="12" ry="26" style="transform: rotate(-75deg);" 
			fill="#ffb258" 
			data-active-color="#ff8b04"/> 
			<ellipse cx="71" cy="-73" rx="12" ry="26" style="transform: rotate(75deg);" 
			fill="#ffb258" 
			data-active-color="#ff8b04" /> 
			<ellipse cx="-79" cy="-2" rx="12" ry="22" style="transform: rotate(-125deg);" 
			fill="#fcc07a" 
			data-active-color="#ff8b04" /> 
			<ellipse cx="6" cy="-107" rx="12" ry="22" style="transform: rotate(125deg);" 
			fill="#fcc07a" 
			data-active-color="#ff8b04" /> 
		</symbol>
	</svg>
	<a href="#" id="logo-wrap">
		<svg class="logo" style="font-size: 46px">
			<desc>MasterLab</desc>
			<use xlink:href="#logo" />
		</svg>
	</a>
	<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$('#logo > ellipse').each( (i, el) => {
				var activeColor = $(el).data('active-color') ? $(el).data('active-color') : '#000'
				var color = $(el).attr('fill') ? $(el).attr('fill') : '#000'
				$(el).css('color', color)
				$(el).on({
					mouseenter: function(){
						$(this).css('fill', activeColor)
					},
					mouseleave: function(){
						$(this).css('fill', color)
					}
				})
			})
		})
	</script>
</body>
</html>